Model Calculation
Call:
lm(formula = BMI ~ Weight + Height, data = train_data)
Residuals:
Min 1Q Median 3Q Max
-2.1319 -0.3752 -0.1873 0.1692 6.1484
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 50.654948 0.497732 101.8 <2e-16 ***
Weight 0.346935 0.001895 183.1 <2e-16 ***
Height -0.296681 0.002819 -105.3 <2e-16 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 0.8428 on 797 degrees of freedom
Multiple R-squared: 0.9823, Adjusted R-squared: 0.9822
F-statistic: 2.207e+04 on 2 and 797 DF, p-value: < 2.2e-16